package com.nave.princesslife.main;

import android.content.Context;
import android.graphics.BitmapFactory;

import com.nave.princesslife.R;

public class LowBar extends GameObject {

	private static LowBar instance;

	private LowBar() {
	};

	public static LowBar getInstance() {

		if (instance == null)
			instance = new LowBar();

		return instance;
	}
	
	public void setup(Context context, int w, int h) {

		// Coletar a imagem na pasta res/drawable
		bitmap = BitmapFactory.decodeResource(context.getResources(),
				R.drawable.mainscreen_lowbar);

		super.setup(w, h, 0f, 800f);

		//Reposicionando
		super.setY(h - bitmap.getHeight());
	}
	
}
